﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="ShareMarking.Web.admin.EnterPrise.QrcodeType.Index" %>

<%@ Import namespace="ShareMarking.Systems.Service" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>列表</title>
<script type="text/javascript" src="/scripts/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="/scripts/lhgdialog/lhgdialog.js?skin=idialog"></script>
<script type="text/javascript" src="/admin/js/layout.js"></script>
<link  href="/css/pagination.css" rel="stylesheet" type="text/css" />
<link href="/admin/skin/default/style.css" rel="stylesheet" type="text/css" />
</head>

<body class="mainbody">
<form id="form1" runat="server">
<!--导航栏-->
<div class="location">
  <a href="javascript:history.back(-1);" class="back"><i></i><span>返回上一页</span></a>
  <a href="/admin/center.aspx" class="home"><i></i><span>首页</span></a>
  <i class="arrow"></i>
  <span>列表</span>
</div>
<!--/导航栏-->

<!--工具栏-->
<div style="height:20px"></div>
<div class="toolbar-wrap" style="display:none">
  <div id="floatHead" class="toolbar" >
    <div class="l-list">
      <ul class="icon-list">
        <%--<li><a class="add" href="Action.aspx?action=<%=ShareMarking.Systems.Service.DTEnums.ActionEnum.Add %>"><i></i><span>新增</span></a></li>
        <li><a class="all" href="javascript:;" onclick="checkAll(this);"><i></i><span>全选</span></a></li>
        <li><asp:LinkButton ID="btnDelete" runat="server" CssClass="del" OnClientClick="return ExePostBack('btnDelete');" onclick="btnDelete_Click"><i></i><span>删除</span></asp:LinkButton></li>--%>
      </ul>
      <div class="menu-list">
      </div>
    </div>
    <div class="r-list" style="display:none">
      <asp:TextBox ID="txtKeywords" runat="server" CssClass="keyword" />
      <asp:LinkButton ID="lbtnSearch" runat="server" CssClass="btn-search" onclick="btnSearch_Click">查询</asp:LinkButton>
    </div>
  </div>
</div>
<!--/工具栏-->

<!--列表-->
<asp:Repeater ID="rptList" runat="server">
<HeaderTemplate>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ltable">
  <tr>
    <%--<th width="8%">选择</th>--%>
    <th width="8%">类型</th>
    <th width="8%">描述</th>
    <th width="8%">总数</th>
    <th width="8%">开始数字</th>
    <th width="8%">结束数字</th>
    <th width="8%">使用个数</th>
    <th width="8%">剩余个数</th>
    <%--<th width="8%">模板</th>
    <th width="8%">用户</th>
    <th width="8%">秘钥</th>--%>
    <%--<th width="8%">操作</th>--%>
  </tr>
</HeaderTemplate>
<ItemTemplate>
  <tr>
    <%--<td align="center">
      <asp:CheckBox ID="chkId" CssClass="checkall" runat="server" style="vertical-align:middle;" />
      <asp:HiddenField ID="hidId" Value='<%#Eval("QrCodeTypeID")%>' runat="server" />
    </td>--%>
    <%--<td align="center"><a href="Action.aspx?action=<%#ShareMarking.Systems.Service.DTEnums.ActionEnum.Edit %>&id=<%#Eval("QrCodeTypeID")%>"><%#Eval("QT_Name")%></a></td>--%>
    <td align="center"><%#Eval("QT_Name")%></td>
    <td align="center"><%#Eval("QT_Desc")%></td>
    <td align="center"><%#Eval("QT_Count")%></td>
    <td align="center"><%#Eval("QT_StartIndex")%></td>
    <td align="center"><%#Eval("QT_EndIndex")%></td>
    <td align="center"><%#Eval("QT_Used")%></td>
    <td align="center"><%#Eval("QT_Surplus")%></td>
    <%--<td align="center"><%#Eval("QT_Template")%></td>
    <td align="center"><%#Eval("QT_UserName")%></td>
    <td align="center"><%#Eval("QT_SecretKey")%></td>--%>
    <%--<td align="center"><a href="Action.aspx?action=<%#ShareMarking.Systems.Service.DTEnums.ActionEnum.Edit %>&id=<%#Eval("QrCodeTypeID")%>">修改</a></td>--%>
  </tr>
</ItemTemplate>
<FooterTemplate>
  <%#rptList.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"14\">暂无记录</td></tr>" : ""%>
</table>
</FooterTemplate>
</asp:Repeater>
<!--/列表-->

<!--内容底部-->
<div class="line20"></div>
<div class="pagelist">
  <div class="l-btns">
    <span>显示</span><asp:TextBox ID="txtPageNum" runat="server" CssClass="pagenum" onkeydown="return checkNumber(event);" ontextchanged="txtPageNum_TextChanged" AutoPostBack="True"></asp:TextBox><span>条/页</span>
  </div>
  <div id="PageContent" runat="server" class="default"></div>
</div>
<!--/内容底部-->
</form>
</body>
</html>
